package com.naiterui.ehp.bs.esign.service;

import com.naiterui.ehp.bp.bo.esign.PreSignResultBO;
import com.naiterui.ehp.bp.bo.esign.RecomSignParamBO;
import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * @author guoyongxiang
 * @date 2019/12/2 15:53
 * @since 1.0.0
 */
public interface IRecomService {

    /**
     * 预签署处方-医生
     * @param signVO
     * @return
     */
    PreSignResultBO preSignRecipelDr(RecomSignParamBO signVO) throws BusinessException;

    /**
     * 预签署处方-药师
     * @param signVO
     * @return
     */
    PreSignResultBO preSignRecipelPh(RecomSignParamBO signVO) throws BusinessException;


    /**
     * 医师处方签名
     * @throws BusinessException
     */
    void signDr(RecomSignParamBO signVO) throws BusinessException;

    /**
     * 药师处方签名
     * @throws BusinessException
     */
    void signPh(RecomSignParamBO signVO) throws BusinessException;

    /**
     * 预签署处方-调配药师
     * @param signVO
     * @return
     */
    PreSignResultBO preSignRecipelAlPh(RecomSignParamBO signVO) throws BusinessException;

    /**
     * 调配药师处方签名
     * @throws BusinessException
     */
    void signAlPh(RecomSignParamBO signVO) throws BusinessException;

}
